package com.huawang.mdesign.model.service.dto.changeanalyse;

import com.huawang.business.constants.ParamErrorConstants;
import com.huawang.business.dto.ProjectIdDTO;
import com.huawang.business.entity.change.ChangeModelResult;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author baibf
 * @description 查询协同变更分析数据DTO
 * @date 2023/4/23 17:06
 **/
@Data
public class QuerySynergyChangeAnalyseDataDto extends ProjectIdDTO {

    @NotBlank(message = ParamErrorConstants.NO_PROJECT_ID)
    private String projectId;

    @Schema(title = "变更记录")
    private List<ChangeModelResult> changeModelResult;

    @NotNull
    private Integer page;

    @NotNull
    private Integer size;
}
